package edu.ptu.communityplatform.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Car)实体类
 *
 * @author makejava
 * @since 2025-04-04 17:28:39
 */
@Data
public class Car implements Serializable {
    private static final long serialVersionUID = -11098857374041721L;
    /**
     * 车辆id
     */
    @TableId(type = IdType.AUTO)
    private Long carId;
    /**
     * 车辆编号
     */
    private String carNumber;
    /**
     * 人员id
     */
    private Long personId;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    /**
     * 逻辑删除
     */
    @TableLogic
    private Integer isDeleted;

}

